package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.io.Serializable;

/**
 * Created by hacker on 2017/8/14.
 */
@Entity
public class ContractStatistic implements Serializable {

    private static final long serialVersionUID = -1036811207541874344L;
    @Id
    private long id;
    @Property
    private int buyContracts;
    @Property
    private int saleContracts;
    @Property
    private int transContracts;
    @Property
    private String buyContractStr;
    @Property
    private String saleContractStr;
    @Property
    private String transContractStr;

    public String getTransContractStr() {
        return this.transContractStr;
    }

    public void setTransContractStr(String transContractStr) {
        this.transContractStr = transContractStr;
    }

    public String getSaleContractStr() {
        return this.saleContractStr;
    }

    public void setSaleContractStr(String saleContractStr) {
        this.saleContractStr = saleContractStr;
    }

    public String getBuyContractStr() {
        return this.buyContractStr;
    }

    public void setBuyContractStr(String buyContractStr) {
        this.buyContractStr = buyContractStr;
    }

    public int getTransContracts() {
        return this.transContracts;
    }

    public void setTransContracts(int transContracts) {
        this.transContracts = transContracts;
    }

    public int getSaleContracts() {
        return this.saleContracts;
    }

    public void setSaleContracts(int saleContracts) {
        this.saleContracts = saleContracts;
    }

    public int getBuyContracts() {
        return this.buyContracts;
    }

    public void setBuyContracts(int buyContracts) {
        this.buyContracts = buyContracts;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Generated(hash = 87272451)
    public ContractStatistic(long id, int buyContracts, int saleContracts,
                             int transContracts, String buyContractStr,
                             String saleContractStr, String transContractStr) {
        this.id = id;
        this.buyContracts = buyContracts;
        this.saleContracts = saleContracts;
        this.transContracts = transContracts;
        this.buyContractStr = buyContractStr;
        this.saleContractStr = saleContractStr;
        this.transContractStr = transContractStr;
    }

    @Generated(hash = 1003041661)
    public ContractStatistic() {
    }

}
